<div id="opt-form" class="easyui-dialog" data-options="closed: true">
    <form id="opt-form-data" method="post">
        <table class="reference">
            <tr>
                <td>名称</td>
                <td>
                    <input class="easyui-textbox" name="name" style="width:300px" data-options="required:true">
                </td>
            </tr>
            <tr id="dict-val" style="display: none;">
                <td>数值</td>
                <td>
                    <input class="easyui-textbox" name="val" style="width:300px" data-options="required:true">
                </td>
            </tr>
            <tr style="display: none;">
                <td>父级</td>
                <td>
                    <input class="easyui-textbox" name="moduleId" id="moduleId" style="width:300px" value="0">
                    <input class="easyui-textbox" name="parentId" id="parentId" style="width:300px" value="0">
                </td>
            </tr>
            <tr>
                <td>编码</td>
                <td>
                    <input class="easyui-textbox" name="code" style="width:300px" data-options="required:true">
                </td>
            </tr>
            <tr>
                <td>排序</td>
                <td>
                    <input class="easyui-textbox" name="sort" style="width:300px" value="0" optType="number">
                </td>
            </tr>
        </table>
    </form>
</div>